/**
 * 
 */
package org.sevaapp.dto;

import org.sevaapp.dto.ApplicantDto;
import org.sevaapp.security.dto.BaseDto;
import org.springmodules.validation.bean.conf.loader.annotation.handler.CascadeValidation;
import org.springmodules.validation.bean.conf.loader.annotation.handler.NotBlank;

/**
 * @author Srini
 *
 */
public class ReferralDto extends BaseDto {

		@CascadeValidation
		private ApplicantDto applicant;
		
//		@NotBlank
		private String applicantSign1;
		
		@NotBlank
		private String applicantSign2;
		
		private Integer applicationId;
		private String applicationStatus;
		private String comments;
		private java.util.Date creationDate;
		
//		@NotBlank
		private String descOfPurpose;
		private String donationPledge;
		private java.util.Date evaluationDate;
		private String evaluatorName;
		private int existingReferralId;
		private Integer id;
		private boolean newReferral;
		
		@NotBlank
		private String patientFirstName;
		
		@NotBlank
		private String patientLastName;
		private String patientMiddleName;
		private String physicianName;
		private String physicianPhNo;
		
		private String physicianSpeciality;
		private String prescribedTests;
		
		@NotBlank
		private String purposeOfVisit;
		private Integer referralId;
		private String serviceType;
		
		
		private java.util.Date signDate;
		public ApplicantDto getApplicant() {
			if ( applicant == null ){
				applicant = new ApplicantDto();
			}
			return applicant;
		}
		public void setApplicant(ApplicantDto applicant) {
			this.applicant = applicant;
		}
		public String getApplicantSign1() {
			return applicantSign1;
		}
		public void setApplicantSign1(String applicantSign1) {
			this.applicantSign1 = applicantSign1;
		}
		public String getApplicantSign2() {
			return applicantSign2;
		}
		public void setApplicantSign2(String applicantSign2) {
			this.applicantSign2 = applicantSign2;
		}
		public Integer getApplicationId() {
			return applicationId;
		}
		public void setApplicationId(Integer applicationId) {
			this.applicationId = applicationId;
		}
		public String getApplicationStatus() {
			return applicationStatus;
		}
		public void setApplicationStatus(String applicationStatus) {
			this.applicationStatus = applicationStatus;
		}
		public String getComments() {
			return comments;
		}
		public void setComments(String comments) {
			this.comments = comments;
		}
		public java.util.Date getCreationDate() {
			return creationDate;
		}
		public void setCreationDate(java.util.Date creationDate) {
			this.creationDate = creationDate;
		}
		public String getDescOfPurpose() {
			return descOfPurpose;
		}
		public void setDescOfPurpose(String descOfPurpose) {
			this.descOfPurpose = descOfPurpose;
		}
		public String getDonationPledge() {
			return donationPledge;
		}
		public void setDonationPledge(String donationPledge) {
			this.donationPledge = donationPledge;
		}
		public java.util.Date getEvaluationDate() {
			return evaluationDate;
		}
		public void setEvaluationDate(java.util.Date evaluationDate) {
			this.evaluationDate = evaluationDate;
		}
		public String getEvaluatorName() {
			return evaluatorName;
		}
		public void setEvaluatorName(String evaluatorName) {
			this.evaluatorName = evaluatorName;
		}
		public int getExistingReferralId() {
			return existingReferralId;
		}
		public void setExistingReferralId(int existingReferralId) {
			this.existingReferralId = existingReferralId;
		}
		public Integer getId() {
			return id;
		}
		public void setId(Integer id) {
			this.id = id;
		}
		public boolean isNewReferral() {
			return newReferral;
		}
		public void setNewReferral(boolean newReferral) {
			this.newReferral = newReferral;
		}
		public String getPatientFirstName() {
			return patientFirstName;
		}
		public void setPatientFirstName(String patientFirstName) {
			this.patientFirstName = patientFirstName;
		}
		public String getPatientLastName() {
			return patientLastName;
		}
		public void setPatientLastName(String patientLastName) {
			this.patientLastName = patientLastName;
		}
		public String getPatientMiddleName() {
			return patientMiddleName;
		}
		public void setPatientMiddleName(String patientMiddleName) {
			this.patientMiddleName = patientMiddleName;
		}
		public String getPhysicianName() {
			return physicianName;
		}
		public void setPhysicianName(String physicianName) {
			this.physicianName = physicianName;
		}
		public String getPhysicianPhNo() {
			return physicianPhNo;
		}
		public void setPhysicianPhNo(String physicianPhNo) {
			this.physicianPhNo = physicianPhNo;
		}
		public String getPhysicianSpeciality() {
			return physicianSpeciality;
		}
		public void setPhysicianSpeciality(String physicianSpeciality) {
			this.physicianSpeciality = physicianSpeciality;
		}
		public String getPrescribedTests() {
			return prescribedTests;
		}
		public void setPrescribedTests(String prescribedTests) {
			this.prescribedTests = prescribedTests;
		}
		public String getPurposeOfVisit() {
			return purposeOfVisit;
		}
		public void setPurposeOfVisit(String purposeOfVisit) {
			this.purposeOfVisit = purposeOfVisit;
		}
		public Integer getReferralId() {
			return referralId;
		}
		public void setReferralId(Integer referralId) {
			this.referralId = referralId;
		}
		public String getServiceType() {
			return serviceType;
		}
		public void setServiceType(String serviceType) {
			this.serviceType = serviceType;
		}
		public java.util.Date getSignDate() {
			return signDate;
		}
		public void setSignDate(java.util.Date signDate) {
			this.signDate = signDate;
		}

}
